package com.example.yucheng.service;

import com.example.yucheng.domain.Warn;
import com.example.yucheng.util.PageQuery;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface WarnService {

    public List<Warn> getAllList();
    public List<Warn> getWarnByLimit(PageQuery pageQuery);

    public List<Warn> getIsWarnByLimit();
    public int deleteWarnById( Integer id);


    public int insertWarn(Warn warn);

    public int updateWarn(Warn warn);

}
